﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface ICTPhieuThue
    {
        [OperationContract]
        IEnumerable<CTPHIEUTHUE> GetByAllCTPhieuThue();

        [OperationContract]
        String InsertCTPhieuThue(CTPHIEUTHUE data);

        [OperationContract]
        String UpdateCTPhieuThue(CTPHIEUTHUE data);

        [OperationContract]
        String DeleteCTPhieuThue(string id);

        [OperationContract]
        IEnumerable<CTPHIEUTHUE> GetByTopCTPhieuThue(string _top, string _where, string _order);

        [OperationContract]
        String ApproveCTPhieuThue(CTPHIEUTHUE data);
    }
}
